package com.cskaoyan.bean.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @Author: zoey-zhu
 * @description: 统计报表: 订单统计(GET)
 * @Date 10:15 2021/7/9
 * 日期、订单量、下单用户、订单总额、客单价
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class StatOrderVO {

    //order
    private String day;   //addtime
    private Integer orders;  //count(id)
    private Integer customers;  //count(user_id)
    private Double amount;    //订单总额： sum(order_price)
    private Double pcr;      // = amount/customers
}
